Overrides default behavior of Collection. Prevents from adding items non-existent in the parent collection.

Namespace:  C1.C1Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
protected override void SetItem(
	int index,
	T item
)
Visual Basic
Protected Overrides Sub SetItem ( _
	index As Integer, _
	item As T _
)

Parameters

index
Type: System..::..Int32
The zero-based index of the item.
item
Type: T
The object to set.

See Also